echo "cut utility:  cuts out selected data from sname file"
echo "Here we cut out the second ele:"
cut -f2 sname
echo "And here's the first ele:"
cut -f1 sname

echo "Putting lines together using paste utility: paste file1 file2"
paste sname smark

echo "Combine two files using join utility: join file1 file2. The first field would be used for matching"
join sname smark

echo "Translating range of char using tr: tr expr1 expr2, take input from stdin"
tr "h2" "3x" < sname
tr "[a-z]" "[A-Z]" < sname

echo "awk utility. Usage: awk 'pattern action' {filename}"
awk '/good/ {print $1 " " $3}' inventory

echo "sed: editing file without using editor. sed {expression} {file}"
sed '/tea/s//milk/g' teaormilk

echo "uniq: make consecutive line unique, remove repeated lines. uniq {filename}"
sort personame | uniq
